package com.wang.exam.mapper;

import com.wang.exam.pojo.JavaWebExam;
import com.wang.exam.pojo.StudentExamCourse;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
@Repository
public interface StudentExamCourseMapper {
    //某学生要考试的科目
    List<StudentExamCourse> getCourses(Integer student_id);
    //考试试卷
    List<JavaWebExam> getTexts();
    //
    List<StudentExamCourse> getCourse(@RequestParam("student_id")Integer student_id,@RequestParam("course_id") Integer course_id);
}
